/**
 * 
 */
package org.gov.vis.data.dao;

import java.util.List;

import org.gov.vis.data.dto.AIDto;

/**
 * @author Vishwanath
 *
 */
public interface AIDao {

	/**
	 *Method called to either Add or Edit a AI
	 */
	public void addOrEditAI(final AIDto _aiDto) throws Exception;
	
	/**
	 *Method called to Delete a AI
	 */
	public void deleteAI(final long _aiId) throws Exception;
	
	/**
	 *Method called to get the list of AIs based on the passed AI 
	 */
	public List<AIDto> getAIs(final AIDto _aiDto) throws Exception;
	
	/**
	 *Method called to search the AIs based on the passed AI 
	 */
	public List<AIDto> searchAIs(final AIDto _aiDto) throws Exception;
	
}//end interface
